﻿using B.S.Packaged.ErrorCode;
using MediatR;

namespace B.S.Packaged.WebAPI.Write.Applications.Commands.PackagingPlanCommands
{
    public class AddPackagingPlanDetailsCommand : IRequest<APIResult<object>>
    {
        /// <summary>
        /// 获取或设置车间的名称。
        /// </summary>
        public string WorkshopName { get; set; }
        /// <summary>
        /// 获取或设置工段的名称。
        /// </summary>
        public string WorkSectionName { get; set; }
        /// <summary>
        /// 获取或设置产线的名称。
        /// </summary>
        public string ProductionLineName { get; set; }
        /// <summary>
        /// 获取或设置设备的名称。
        /// </summary>
        public string DeviceName { get; set; }
        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime FriDate { get; set; }
        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime EndDate { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string Leader { get; set; }
        /// <summary>
        /// 人员数量
        /// </summary>
        public int PersonnelNumber { get; set; }
        /// <summary>
        /// 包装计划主键
        /// </summary>
        public int PackagingPlanId { get; set; }
        ///// <summary>
        ///// 登录名
        ///// </summary>
        //public string UserName { get; set; }
    }
}
